import request from '../utils/request'

export default{
    //获取所有菜单信息
    queruAllMenu(){
        return request.post(`/api/management-center/menu/queryAllMenu`)
    },
    //根据id查看菜单信息
    queryMenuById(menuId){
        return request.post(`/api/management-center/menu/queryMenuById`,menuId)
    },
    //保存菜单
    saveMenu(data){
        return request.post(`/api/management-center/menu/saveMenu`,data)
    },
    //修改菜单
    updateMenu(data){
        return request.post(`/api/management-center/menu/updateMenu`,data)
    },

}